import Mock from 'mockjs'  //固定格式，引用mockJS
import '@/mock/extend'     //固定格式，引用拓展

const welcome = Mock.mock({  //定义变量的格式？
  timeFix: '@TIMEFIX',
  message: '@WELCOME'
})

Mock.mock('/user/welcome', 'get', () => {  //路由获取接口
  return welcome
})
